package com.smart.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 电子券信息表
 * 
 * @author zhouwc
 * @email zhouwenchao@smart.net.cn
 * @date 2019-01-09 09:51:08
 */
public class EcpInfoVO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//电子券编号
	private Long ecpId;	
	//所属商户
	private Integer merchantId;
	//收券人编号
	private String recManId;
	private Integer shopId;
	private String shopNum;
	//优惠券名称
	private String cpName;
	//券码
	private String ecpCode;
	//金额
	private BigDecimal ecpMoney;
	//有效期起
	//TODO 是否做日期转换?
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	private Date validStart;
	//有效期止
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	private Date validEnd;	
	//状态码
	private Integer ecpFlag;
	//状态描述
	private String ecpFlagDesc;	
	//券应用类型
	private String typePlat;
	private String typePlatDesc;
	//券种类
	private String typeCode;
	private String typeCodeDesc;
	
	public Long getEcpId() {
		return ecpId;
	}
	public void setEcpId(Long ecpId) {
		this.ecpId = ecpId;
	}
	public String getCpName() {
		return cpName;
	}
	public void setCpName(String cpName) {
		this.cpName = cpName;
	}
	public String getEcpCode() {
		return ecpCode;
	}
	public void setEcpCode(String ecpCode) {
		this.ecpCode = ecpCode;
	}
	public BigDecimal getEcpMoney() {
		return ecpMoney;
	}
	public void setEcpMoney(BigDecimal ecpMoney) {
		this.ecpMoney = ecpMoney;
	}
	public Date getValidStart() {
		return validStart;
	}
	public void setValidStart(Date validStart) {
		this.validStart = validStart;
	}
	public Date getValidEnd() {
		return validEnd;
	}
	public void setValidEnd(Date validEnd) {
		this.validEnd = validEnd;
	}
	public Integer getEcpFlag() {
		return ecpFlag;
	}
	public void setEcpFlag(Integer ecpFlag) {
		this.ecpFlag = ecpFlag;
	}
	public String getEcpFlagDesc() {
		return ecpFlagDesc;
	}
	public void setEcpFlagDesc(String ecpFlagDesc) {
		this.ecpFlagDesc = ecpFlagDesc;
	}
	public String getTypePlat() {
		return typePlat;
	}
	public void setTypePlat(String typePlat) {
		this.typePlat = typePlat;
	}
	public String getTypeCode() {
		return typeCode;
	}
	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}
	public String getTypePlatDesc() {
		return typePlatDesc;
	}
	public void setTypePlatDesc(String typePlatDesc) {
		this.typePlatDesc = typePlatDesc;
	}
	public String getTypeCodeDesc() {
		return typeCodeDesc;
	}
	public void setTypeCodeDesc(String typeCodeDesc) {
		this.typeCodeDesc = typeCodeDesc;
	}
	public Integer getMerchantId() {
		return merchantId;
	}
	public void setMerchantId(Integer merchantId) {
		this.merchantId = merchantId;
	}
	public String getRecManId() {
		return recManId;
	}
	public void setRecManId(String recManId) {
		this.recManId = recManId;
	}
	public Integer getShopId() {
		return shopId;
	}
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
	public String getShopNum() {
		return shopNum;
	}
	public void setShopNum(String shopNum) {
		this.shopNum = shopNum;
	}
	
	
}
